#pragma once
#include "libutilsbase.h"

LIB_NS_BEGIN
typedef long LONG;

class LIBAPI UDumper
{
public:
	
	static void EnableDumper(const TCHAR* dumpdir );
private:	
	static LONG __stdcall UnhandledExceptionFilterCall( __in struct _EXCEPTION_POINTERS *ExceptionInfo );
private:
#pragma warning(disable: 4251)
	static tstring dumpdir;
		
};

LIB_NS_END